package homework1;

public class UiTc extends Staff implements Painting{
    private String worKname = "UI讲师";

    public UiTc(String name, String gender, int age) {
        super(name, gender, age);
    }

    @Override
    public String paintint() {
        return "绘画";
    }

    @Override
    public void work() {
        System.out.println("姓名:"+getName()+","+"性别:"+getGender()+","+"年龄:"+getAge()+","+worKname+",职责:"+paintint());
    }
}
